<?php

/**
 * @Author:      dx
 * @DateTime:    2016-07-15 11:35:07
 * @Description: 用于 角色的维护和管理
 */

class AhpRole extends Eloquent
{

    protected $table = "ahp_role";


  
    public static $statis = array(
        1 => '正常',
        2 => '冻结',
        3 => '删除',
    );

    public function ahp_users()
    {
        return $this->hasOne('AhpUsers',"id","created_by");
    }

}
